package com.ft.oa.service.project;

import com.ft.oa.domain.dto.ApiResult;
import com.ft.oa.domain.project.CompanyQualification;
import com.ft.oa.domain.project.CompanyQualificationPage;
import org.springframework.web.multipart.MultipartFile;

/**
 * 公司资质维护
 * @author liyansheng
 * @ClassName CompanyQualificationService
 * @date 2022-1-5 16:09:29
 */
public interface CompanyQualificationService {
    /**
     * 新增
     * @param qualification
     * @return
     */
    ApiResult add(CompanyQualification qualification);

    /**
     * 修改
     * @param qualification
     * @return
     */
    ApiResult edit(CompanyQualification qualification);

    /**
     * 删除
     * @param id
     * @return
     */
    ApiResult del(Long id);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    ApiResult selectById(Long id,String tabType);


    /**
     * 分页查询
     * @param qualificationPage
     * @return
     */
    ApiResult page(CompanyQualificationPage qualificationPage);

    /**
     * 附件上传记录
     * @param files
     * @return
     */
    ApiResult upload(MultipartFile files[], String source);
}
